from utils.image import download_image, listOssDir

scene_list = {
    "CRNH-01-02": [
        "compressed-CRNH-0001.jpeg",
        "compressed-CRNH-0002.jpeg"
    ],
    "CRNH-010-012": [
        "compressed-CRNH-0010.jpeg",
        "compressed-CRNH-0011.jpeg",
        "compressed-CRNH-0012.jpeg"
    ],
    "CRNH-013-016": [
        "compressed-CRNH-0013.jpeg",
        "compressed-CRNH-0014.jpeg",
        "compressed-CRNH-0015.jpeg",
        "compressed-CRNH-0016.jpeg"
    ],
    "CRNH-03-06": [
        "compressed-CRNH-0003.jpeg",
        "compressed-CRNH-0004.jpeg",
        "compressed-CRNH-0005.jpeg",
        "compressed-CRNH-0006.jpeg"
    ],
    "CRNH-07-09": [
        "compressed-CRNH-0007.jpeg",
        "compressed-CRNH-0008.jpeg",
        "compressed-CRNH-0009.jpeg"
    ],
    "JH-01-04": [
        "compressed-JH-0001.jpeg",
        "compressed-JH-0002.jpeg",
        "compressed-JH-0003.jpeg",
        "compressed-JH-0004.jpeg"
    ],
    "NH-0056": [
        "compressed-NH-0056.jpeg"
    ],
    "NH-0064": [
        "compressed-NH-0064.jpeg"
    ],
    "NH-01-06": [
        "compressed-NH-0001.jpeg",
        "compressed-NH-0002.jpeg",
        "compressed-NH-0003.jpeg",
        "compressed-NH-0004.jpeg",
        "compressed-NH-0005.jpeg",
        "compressed-NH-0006.jpeg"
    ],
    "NH-011-15": [
        "compressed-NH-0011.jpeg",
        "compressed-NH-0012.jpeg",
        "compressed-NH-0013.jpeg",
        "compressed-NH-0014.jpeg",
        "compressed-NH-0015.jpeg"
    ],
    "NH-016-18": [
        "compressed-NH-0016.jpeg",
        "compressed-NH-0017.jpeg",
        "compressed-NH-0018.jpeg"
    ],
    "NH-019-25": [
        "compressed-NH-0019.jpeg",
        "compressed-NH-0020.jpeg",
        "compressed-NH-0021.jpeg",
        "compressed-NH-0022.jpeg",
        "compressed-NH-0023.jpeg",
        "compressed-NH-0024.jpeg",
        "compressed-NH-0025.jpeg"
    ],
    "NH-026-31": [
        "compressed-NH-0026.jpeg",
        "compressed-NH-0027.jpeg",
        "compressed-NH-0028.jpeg",
        "compressed-NH-0029.jpeg",
        "compressed-NH-0030.jpeg",
        "compressed-NH-0031.jpeg"
    ],
    "NH-032-51": [
        "compressed-NH-0032.jpeg",
        "compressed-NH-0033.jpeg",
        "compressed-NH-0034.jpeg",
        "compressed-NH-0035.jpeg",
        "compressed-NH-0036.jpeg",
        "compressed-NH-0037.jpeg",
        "compressed-NH-0038.jpeg",
        "compressed-NH-0039.jpeg",
        "compressed-NH-0040.jpeg",
        "compressed-NH-0041.jpeg",
        "compressed-NH-0042.jpeg",
        "compressed-NH-0043.jpeg",
        "compressed-NH-0044.jpeg",
        "compressed-NH-0045.jpeg",
        "compressed-NH-0046.jpeg",
        "compressed-NH-0047.jpeg",
        "compressed-NH-0048.jpeg",
        "compressed-NH-0049.jpeg",
        "compressed-NH-0050.jpeg",
        "compressed-NH-0051.jpeg"
    ],
    "NH-052-55": [
        "compressed-NH-0052.jpeg",
        "compressed-NH-0053.jpeg",
        "compressed-NH-0054.jpeg",
        "compressed-NH-0055.jpeg"
    ],
    "NH-057-63": [
        "compressed-NH-0057.jpeg",
        "compressed-NH-0058.jpeg",
        "compressed-NH-0059.jpeg",
        "compressed-NH-0060.jpeg",
        "compressed-NH-0061.jpeg",
        "compressed-NH-0062.jpeg",
        "compressed-NH-0063.jpeg"
    ],
    "NH-065-68": [
        "compressed-NH-0065.jpeg",
        "compressed-NH-0066.jpeg",
        "compressed-NH-0067.jpeg",
        "compressed-NH-0068.jpeg"
    ],
    "NH-07-10": [
        "compressed-NH-0007.jpeg",
        "compressed-NH-0008.jpeg",
        "compressed-NH-0009.jpeg",
        "compressed-NH-0010.jpeg"
    ],
    "NS_01-04": [
        "compressed-NS_0001.jpeg",
        "compressed-NS_0002.jpeg",
        "compressed-NS_0003.jpeg",
        "compressed-NS_0004.jpeg"
    ],
    "NS_011-15": [
        "compressed-NS_0011.jpeg",
        "compressed-NS_0012.jpeg",
        "compressed-NS_0013.jpeg",
        "compressed-NS_0014.jpeg",
        "compressed-NS_0015.jpeg"
    ],
    "NS_016-31": [
        "compressed-NS_0016.jpeg",
        "compressed-NS_0017.jpeg",
        "compressed-NS_0018.jpeg",
        "compressed-NS_0019.jpeg",
        "compressed-NS_0020.jpeg",
        "compressed-NS_0021.jpeg",
        "compressed-NS_0022.jpeg",
        "compressed-NS_0023.jpeg",
        "compressed-NS_0024.jpeg",
        "compressed-NS_0025.jpeg",
        "compressed-NS_0026.jpeg",
        "compressed-NS_0027.jpeg",
        "compressed-NS_0028.jpeg",
        "compressed-NS_0029.jpeg",
        "compressed-NS_0030.jpeg",
        "compressed-NS_0031.jpeg"
    ],
    "NS_032-49": [
        "compressed-NS_0032.jpeg",
        "compressed-NS_0033.jpeg",
        "compressed-NS_0034.jpeg",
        "compressed-NS_0035.jpeg",
        "compressed-NS_0036.jpeg",
        "compressed-NS_0037.jpeg",
        "compressed-NS_0038.jpeg",
        "compressed-NS_0039.jpeg",
        "compressed-NS_0040.jpeg",
        "compressed-NS_0041.jpeg",
        "compressed-NS_0042.jpeg",
        "compressed-NS_0043.jpeg",
        "compressed-NS_0044.jpeg",
        "compressed-NS_0045.jpeg",
        "compressed-NS_0046.jpeg",
        "compressed-NS_0047.jpeg",
        "compressed-NS_0048.jpeg",
        "compressed-NS_0049.jpeg"
    ],
    "NS_05-10": [
        "compressed-NS_0005.jpeg",
        "compressed-NS_0006.jpeg",
        "compressed-NS_0007.jpeg",
        "compressed-NS_0008.jpeg",
        "compressed-NS_0009.jpeg",
        "compressed-NS_0010.jpeg"
    ],
    "NS_050-53": [
        "compressed-NS_0050.jpeg",
        "compressed-NS_0051.jpeg",
        "compressed-NS_0052.jpeg",
        "compressed-NS_0053.jpeg"
    ],
    "NS_054-57": [
        "compressed-NS_0054.jpeg",
        "compressed-NS_0055.jpeg",
        "compressed-NS_0056.jpeg",
        "compressed-NS_0057.jpeg"
    ],
    "NS_058-61": [
        "compressed-NS_0058.jpeg",
        "compressed-NS_0059.jpeg",
        "compressed-NS_0060.jpeg",
        "compressed-NS_0061.jpeg"
    ],
    "NS_062-67": [
        "compressed-NS_0062.jpeg",
        "compressed-NS_0063.jpeg",
        "compressed-NS_0064.jpeg",
        "compressed-NS_0065.jpeg",
        "compressed-NS_0066.jpeg",
        "compressed-NS_0067.jpeg"
    ],
    "NS_068-71": [
        "compressed-NS_0068.jpeg",
        "compressed-NS_0069.jpeg",
        "compressed-NS_0070.jpeg",
        "compressed-NS_0071.jpeg"
    ],
    "NS_072-76": [
        "compressed-NS_0072.jpeg",
        "compressed-NS_0073.jpeg",
        "compressed-NS_0074.jpeg",
        "compressed-NS_0075.jpeg",
        "compressed-NS_0076.jpeg"
    ],
    "NS_077-80": [
        "compressed-NS_0077.jpeg",
        "compressed-NS_0078.jpeg",
        "compressed-NS_0079.jpeg",
        "compressed-NS_0080.jpeg"
    ],
    "NS_081-84": [
        "compressed-NS_0081.jpeg",
        "compressed-NS_0082.jpeg",
        "compressed-NS_0083.jpeg",
        "compressed-NS_0084.jpeg"
    ],
    "QJF-loras-01-08": [
        "compressed-QJF-loras-0001.jpeg",
        "compressed-QJF-loras-0002.jpeg",
        "compressed-QJF-loras-0003.jpeg",
        "compressed-QJF-loras-0004.jpeg",
        "compressed-QJF-loras-0005.jpeg",
        "compressed-QJF-loras-0006.jpeg",
        "compressed-QJF-loras-0007.jpeg",
        "compressed-QJF-loras-0008.jpeg"
    ],
    "V6-CRNV-01-09": [
        "compressed-V6-CRNV-0001.jpeg",
        "compressed-V6-CRNV-0002.jpeg",
        "compressed-V6-CRNV-0003.jpeg",
        "compressed-V6-CRNV-0004.jpeg",
        "compressed-V6-CRNV-0005.jpeg",
        "compressed-V6-CRNV-0006.jpeg",
        "compressed-V6-CRNV-0007.jpeg",
        "compressed-V6-CRNV-0008.jpeg",
        "compressed-V6-CRNV-0009.jpeg"
    ],
    "V6-CRNV-010-18": [
        "compressed-V6-CRNV-0010.jpeg",
        "compressed-V6-CRNV-0011.jpeg",
        "compressed-V6-CRNV-0012.jpeg",
        "compressed-V6-CRNV-0013.jpeg",
        "compressed-V6-CRNV-0014.jpeg",
        "compressed-V6-CRNV-0015.jpeg",
        "compressed-V6-CRNV-0016.jpeg",
        "compressed-V6-CRNV-0017.jpeg",
        "compressed-V6-CRNV-0018.jpeg"
    ],
    "V6-CRNV-019-025": [
        "compressed-V6-CRNV-0019.jpeg",
        "compressed-V6-CRNV-0020.jpeg",
        "compressed-V6-CRNV-0021.jpeg",
        "compressed-V6-CRNV-0022.jpeg",
        "compressed-V6-CRNV-0023.jpeg",
        "compressed-V6-CRNV-0024.jpeg",
        "compressed-V6-CRNV-0025.jpeg"
    ],
    "V6-CRNV-026-032": [
        "compressed-V6-CRNV-0026.jpeg",
        "compressed-V6-CRNV-0027.jpeg",
        "compressed-V6-CRNV-0028.jpeg",
        "compressed-V6-CRNV-0029.jpeg",
        "compressed-V6-CRNV-0030.jpeg",
        "compressed-V6-CRNV-0031.jpeg",
        "compressed-V6-CRNV-0032.jpeg"
    ],
    "V6-CRNV-033-43": [
        "compressed-V6-CRNV-0033.jpeg",
        "compressed-V6-CRNV-0034.jpeg",
        "compressed-V6-CRNV-0035.jpeg",
        "compressed-V6-CRNV-0036.jpeg",
        "compressed-V6-CRNV-0037.jpeg",
        "compressed-V6-CRNV-0038.jpeg",
        "compressed-V6-CRNV-0039.jpeg",
        "compressed-V6-CRNV-0040.jpeg",
        "compressed-V6-CRNV-0041.jpeg",
        "compressed-V6-CRNV-0042.jpeg",
        "compressed-V6-CRNV-0043.jpeg"
    ],
    "V6-CRNV-044-047": [
        "compressed-V6-CRNV-0044.jpeg",
        "compressed-V6-CRNV-0045.jpeg",
        "compressed-V6-CRNV-0046.jpeg",
        "compressed-V6-CRNV-0047.jpeg"
    ],
    "V6-CRNV-048-051": [
        "compressed-V6-CRNV-0048.jpeg",
        "compressed-V6-CRNV-0049.jpeg",
        "compressed-V6-CRNV-0050.jpeg",
        "compressed-V6-CRNV-0051.jpeg"
    ],
    "V6-CRNV-052-058": [
        "compressed-V6-CRNV-0052.jpeg",
        "compressed-V6-CRNV-0053.jpeg",
        "compressed-V6-CRNV-0054.jpeg",
        "compressed-V6-CRNV-0055.jpeg",
        "compressed-V6-CRNV-0056.jpeg",
        "compressed-V6-CRNV-0057.jpeg",
        "compressed-V6-CRNV-0058.jpeg"
    ],
    "V6-CRNV-059-066": [
        "compressed-V6-CRNV-0059.jpeg",
        "compressed-V6-CRNV-0060.jpeg",
        "compressed-V6-CRNV-0061.jpeg",
        "compressed-V6-CRNV-0062.jpeg",
        "compressed-V6-CRNV-0063.jpeg",
        "compressed-V6-CRNV-0064.jpeg",
        "compressed-V6-CRNV-0065.jpeg",
        "compressed-V6-CRNV-0066.jpeg"
    ],
    "V6-CRNV-067-078": [
        "compressed-V6-CRNV-0067.jpeg",
        "compressed-V6-CRNV-0068.jpeg",
        "compressed-V6-CRNV-0069.jpeg",
        "compressed-V6-CRNV-0070.jpeg",
        "compressed-V6-CRNV-0071.jpeg",
        "compressed-V6-CRNV-0072.jpeg",
        "compressed-V6-CRNV-0073.jpeg",
        "compressed-V6-CRNV-0074.jpeg",
        "compressed-V6-CRNV-0075.jpeg",
        "compressed-V6-CRNV-0076.jpeg",
        "compressed-V6-CRNV-0077.jpeg",
        "compressed-V6-CRNV-0078.jpeg"
    ],
    "V6-CRNV-079-083": [
        "compressed-V6-CRNV-0079.jpeg",
        "compressed-V6-CRNV-0080.jpeg",
        "compressed-V6-CRNV-0081.jpeg",
        "compressed-V6-CRNV-0082.jpeg",
        "compressed-V6-CRNV-0083.jpeg"
    ],
    "V6-CRNV-084-095": [
        "compressed-V6-CRNV-0084.jpeg",
        "compressed-V6-CRNV-0085.jpeg",
        "compressed-V6-CRNV-0086.jpeg",
        "compressed-V6-CRNV-0087.jpeg",
        "compressed-V6-CRNV-0088.jpeg",
        "compressed-V6-CRNV-0089.jpeg",
        "compressed-V6-CRNV-0090.jpeg",
        "compressed-V6-CRNV-0091.jpeg",
        "compressed-V6-CRNV-0092.jpeg",
        "compressed-V6-CRNV-0093.jpeg",
        "compressed-V6-CRNV-0094.jpeg",
        "compressed-V6-CRNV-0095.jpeg"
    ],
    "V6-CRNV-096-099": [
        "compressed-V6-CRNV-0096.jpeg",
        "compressed-V6-CRNV-0097.jpeg",
        "compressed-V6-CRNV-0098.jpeg",
        "compressed-V6-CRNV-0099.jpeg"
    ],
    "V6-CRNV-100-104": [
        "compressed-V6-CRNV-0100.jpeg",
        "compressed-V6-CRNV-0101.jpeg",
        "compressed-V6-CRNV-0102.jpeg",
        "compressed-V6-CRNV-0103.jpeg",
        "compressed-V6-CRNV-0104.jpeg"
    ],
    "V6-CRNV-105-108": [
        "compressed-V6-CRNV-0105.jpeg",
        "compressed-V6-CRNV-0106.jpeg",
        "compressed-V6-CRNV-0107.jpeg",
        "compressed-V6-CRNV-0108.jpeg"
    ],
    "V6-CRNV-109-113": [
        "compressed-V6-CRNV-0109.jpeg",
        "compressed-V6-CRNV-0110.jpeg",
        "compressed-V6-CRNV-0111.jpeg",
        "compressed-V6-CRNV-0112.jpeg",
        "compressed-V6-CRNV-0113.jpeg"
    ],
    "V6-CRNV-114-117": [
        "compressed-V6-CRNV-0114.jpeg",
        "compressed-V6-CRNV-0115.jpeg",
        "compressed-V6-CRNV-0116.jpeg",
        "compressed-V6-CRNV-0117.jpeg"
    ],
    "V6-CRNV-118-126": [
        "compressed-V6-CRNV-0118.jpeg",
        "compressed-V6-CRNV-0119.jpeg",
        "compressed-V6-CRNV-0120.jpeg",
        "compressed-V6-CRNV-0121.jpeg",
        "compressed-V6-CRNV-0122.jpeg",
        "compressed-V6-CRNV-0123.jpeg",
        "compressed-V6-CRNV-0124.jpeg",
        "compressed-V6-CRNV-0125.jpeg",
        "compressed-V6-CRNV-0126.jpeg"
    ],
    "V6-CRNV-127-134": [
        "compressed-V6-CRNV-0127.jpeg",
        "compressed-V6-CRNV-0128.jpeg",
        "compressed-V6-CRNV-0129.jpeg",
        "compressed-V6-CRNV-0130.jpeg",
        "compressed-V6-CRNV-0131.jpeg",
        "compressed-V6-CRNV-0132.jpeg",
        "compressed-V6-CRNV-0133.jpeg",
        "compressed-V6-CRNV-0134.jpeg"
    ],
    "XZ-loras-1-7": [
        "compressed-XZ-loras-1.jpeg",
        "compressed-XZ-loras-2.jpeg",
        "compressed-XZ-loras-3.jpeg",
        "compressed-XZ-loras-4.jpeg",
        "compressed-XZ-loras-5.jpeg",
        "compressed-XZ-loras-6.jpeg",
        "compressed-XZ-loras-7.jpeg"
    ]
}

# for key, value in scene_list.items():
#   scene_photos = scene_list[key]
#   for photo in scene_photos:
#     download_image(f"scene/{key}/{photo}", '')
#     print(f"download: {key}/{photo} success")